package common.dict;

import net.sf.json.JSONArray;

public class CommonDict {
	
	public final static String SUBJECT_NO="00";
	public final static String SUBJECT_NAME="管理员";
	public final static String SUBJECT_MENU="[['1','1','1','1','1','1','1','1','1','1'],['1','1','1','1','1','1','1','1','1','1'],['1','1','1','1','1','1','1','1','1','1'],['1','1','1','1','1','1','1','1','1','1'],['1','1','1','1','1','1','1','1','1','1'],['1','1','1','1','1','1','1','1','1','1'],['1','1','1','1','1','1','1','1','1','1'],['1','1','1','1','1','1','1','1','1','1'],['1','1','1','1','1','1','1','1','1','1'],['1','1','1','1','1','1','1','1','1','1']]";
	public final static String PASSWORD="123456";
	public final static int KEY_LENGTH=8;
	public final static int NOTICE_LIMIT=4;
	public final static int EXPORT_LIMIT=2000;
	public static final String GLOBAL_MERCHANT = "0000";
	
	public static void main(String[] args) {
		JSONArray jsonList=new JSONArray();
		
		for(int i=0;i<10;i++){
			JSONArray jsonItem=new JSONArray();
			for(int j=0;j<10;j++){
				jsonItem.add(j, true);
			}
			jsonList.add(i, jsonItem);
		}
		System.out.println(jsonList.toString().replaceAll("\"", "'"));
		String s=jsonList.toString();
		
		JSONArray menu=JSONArray.fromObject(s);
		
		System.out.println(menu.getJSONArray(1));
	}
	
}
